if $programname == 'kube-scheduler' then {
   action(type="omfile" file="/var/log/kube-master/kube-scheduler.log")
}